From fdb7958ca59e4870460950722ed52b9eb5fde10c Mon Sep 17 00:00:00 2001 From: real-zephex Date: Fri, 29 Mar 2024 20:48:30 +0530 Subject: fix: minor css fix for light mode users --- src/app/manga/[title]/[id]/[read]/read.module.css | 6 ++++++ src/app/manga/[title]/[id]/info.module.css | 11 +++++++++++ src/app/manga/[title]/[id]/page.jsx | 1 - src/app/manga/[title]/title.module.css | 10 ++++++++++ 4 files changed, 27 insertions(+), 1 deletion(-) (limited to 'src/app/manga/[title]') diff --git a/src/app/manga/[title]/[id]/[read]/read.module.css b/src/app/manga/[title]/[id]/[read]/read.module.css index a95dcfe..9a27a38 100644 --- a/src/app/manga/[title]/[id]/[read]/read.module.css +++ b/src/app/manga/[title]/[id]/[read]/read.module.css @@ -65,4 +65,10 @@ .Image { width: 100%; } +} + +@media (prefers-color-scheme: light) { + .CurrentReadingContainer { + color: black; + } } \ No newline at end of file diff --git a/src/app/manga/[title]/[id]/info.module.css b/src/app/manga/[title]/[id]/info.module.css index 5bb13fe..fbb493e 100644 --- a/src/app/manga/[title]/[id]/info.module.css +++ b/src/app/manga/[title]/[id]/info.module.css @@ -157,4 +157,15 @@ font-size: 14px; } +} + +@media (prefers-color-scheme: light) { + .MangaDescription { + color: black; + } + + .Character p { + color: black; + } + } \ No newline at end of file diff --git a/src/app/manga/[title]/[id]/page.jsx b/src/app/manga/[title]/[id]/page.jsx index dc4c682..3038b3f 100644 --- a/src/app/manga/[title]/[id]/page.jsx +++ b/src/app/manga/[title]/[id]/page.jsx @@ -3,7 +3,6 @@ import Image from "next/image"; import Buttons from "./buttons"; import { redirect } from "next/navigation"; import { FaStar } from "react-icons/fa"; -import CurrentReading from "./[read]/currentReading"; export default async function MangaInfo({ params }) { const id = params.id; diff --git a/src/app/manga/[title]/title.module.css b/src/app/manga/[title]/title.module.css index 1369856..5198c9b 100644 --- a/src/app/manga/[title]/title.module.css +++ b/src/app/manga/[title]/title.module.css @@ -64,4 +64,14 @@ .Main { max-width: 100%; } +} + +@media (prefers-color-scheme: light) { + .SearchedFor { + color: black; + } + + .MangaDescription { + color: black; + } } \ No newline at end of file -- cgit v1.2.3